Skip to main content

PalindromeQ

PalindromeQ[list] returns True if the given list is identical to Reverse[list], and False otherwise.

PalindromeQ[n] returns True if the integer n is identical to IntegerReverse[n], and False otherwise.

PalindromeQ[string] returns True if the given string is identical to StringReverse[string], and False otherwise.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.